import Layout from '@/layout'

const asyncRoutes = [
  {
    path: '/split',
    name: 'User',
    component: Layout,
    meta: {
      title: '分账管理',
      icon: 'nav-icon icon-user',
      resourceId: 'route:/web/split-management/',
    },
    children: [
      // {
      //   path: '/split/insertMerchantPartner',
      //   name: 'InsertMerchantPartner',
      //   component: () => import('@/views/user/insertMerchantPartner.vue'),
      //   meta: {
      //     title: '分账人管理',
      //     // resourceId: 'route:/web/user-management/merchant-management/',
      //   },
      // },
      {
        path: '/split/splitBill',
        name: 'SplitBill',
        component: () => import('@/views/user/splitBill.vue'),
        meta: {
          title: '分账账单',
          resourceId: 'route:/web/split-management/',
        },
      },
    ],
  },
]

export default asyncRoutes
